(in-package #:test.org.apache.zookeeper.test)

(defclass LoggerTestTool ()
  ((os :initarg :os))) ;; 33


(defmethod initialize-instance :after ((clz LoggerTestTool) &key (cls nil)) ;; TODO validate is class
  (let ((os (createLoggingStream clz cls)))
    (setf (solt-value clz 'os) os)))


;; 49
(defmethod createLoggingStream ((clz T))
  (let ((os (make-instance 'ByteArrayOutputStream)))
    ()))



;; 59
(defmethod createLoggingStream ((str string))
  ())


;; 69
(defmethod getConsoleAppender ((clz LoggerTestTool) os)
  ())
